
#include "PlatformProperty.h"

TRANSMIT_READ_PROPERTY(DoorDrvrSts,DoorSts2) {
    builder.area(VehicleArea::GLOBAL)
        .initValue([](){
                return DoorSts2(-1);
        })
        .immutableStatus(PropertyStatus::Active)
        .withValueBySignals([]([[maybe_unused]]const DoorSts2& last){

                auto signal=SIGNAL.getDoorDrvrSts();
                return DoorSts2((int32_t)signal);

        },ecarx::transfer::SignalRX::DoorDrvrSts);
}
